from app.models.BaseModel import BaseModel
from app import db

class EpisodeModel(BaseModel):

    id=db.Column(db.Integer, primary_key=True, autoincrement=True) 
    # 剧集标题
    title = db.Column(db.String(100), nullable=True)

    # 剧集封面
    cover = db.Column(db.String(100), nullable=True)

    # 剧集所属 soap opera id
    soap_opera_id = db.Column(db.Integer, db.ForeignKey('soap_opera.id'), nullable=True)

    